package com.core.sys.dao;

import java.util.List;
import java.util.Set;

import com.core.common.dao.IBaseDao;
import com.core.common.dao.Pager;
import com.core.sys.entity.UserEntity;

public interface IUserDao extends IBaseDao<UserEntity> {
	
	void deleteByUserIds(List<Long> userIds);
	
	void updateDeleteFlagByUserIds(List<Long> userIds);
	
	UserEntity getUserByName(String username);
				
	Pager<UserEntity> selectByOption(int pageIndex, int pageSize, String userName,String createdateStart, 
			String createdateEnd,String updatedateStart, String updatedateEnd, Set<Long> userIdSet, String order);
	
	Pager<UserEntity> selectByOption(String userName,String createdateStart, 
            String createdateEnd,String updatedateStart, String updatedateEnd, Set<Long> userIdSet);

	List<UserEntity> selectByUserIds(Long[] userIds);

    List<Long> selectIds();
}
